using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TEXT : MonoBehaviour
{
public Text textLine;
public Image img;
public TextAsset textFile;
待更
}
新增一個空物件並加入Text的元件
放入到腳本建立好的TextLine裡
待更
參考資料:
https://docs.unity3d.com/ScriptReference/TextAsset.html